/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package facade;

import entity.Order2;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author lab1
 */
@Stateless
public class Order2Facade extends AbstractFacade<Order2> implements Order2FacadeRemote {
    @PersistenceContext(unitName = "SHOPPINGCART2-ejbPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public Order2Facade() {
        super(Order2.class);
    }

}
